﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using T.AuditField;

namespace T.Basic.Domain.T.Basic.Model
{
    /// <summary>
    /// 线路管理
    /// </summary>
    [Table("Line")]
    public class Line: AuditFields
    {
        /// <summary>
        /// 线路管理ID
        /// </summary>
        [Key]
        public int LineID { get; set; }
        /// <summary>
        /// 公司ID
        /// </summary>
        public string? CompanyID { get; set; } 
        /// <summary>
        /// 用户ID
        /// </summary>
        public int? User_Id { get; set; }
        /// <summary>
        /// 线路名称
        /// </summary>
        public string? LineName { get; set; }
        /// <summary>
        /// 起点（省）
        /// </summary>
        public string? StartingProvince { get; set; }
        /// <summary>
        /// 起点（市）
        /// </summary>
        public string? StartingCity { get; set; }
        /// <summary>
        /// 起点（县）
        /// </summary>
        public string? StartingCounty { get; set; }
        /// <summary>
        /// 起点详细地址
        /// </summary>
        public string? StartingPointAddress { get; set; }
        /// <summary>
        /// 终点（省）
        /// </summary>
        public string? EndProvince { get; set; }
        /// <summary>
        /// 终点（市）
        /// </summary>
        public string? EndCity { get; set; }
        /// <summary>
        /// 终点（县）
        /// </summary>
        public string? EndCounty { get; set; }
        /// <summary>
        /// 终点详细地址
        /// </summary>
        public string? EndAddress { get; set; }
        /// <summary>
        /// 是否是外协
        /// </summary>
        public bool? OutsourcedUnitsIsno { get; set; }
        /// <summary>
        /// 货主姓名
        /// </summary>
        public string? CargoOwnerName { get; set; }
        /// <summary>
        /// 货主手机号
        /// </summary>
        public string? CargoOwnerPhone { get; set; }
        /// <summary>
        /// 货主单位
        /// </summary>
        public string? CargoOwnerUnitName { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? LineNotes { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool? LineStatus { get; set; }
    }
}
